AI Lessons
Lesson 6: Bias in AI

Purpose: How bias enters an AI system through its training data, and why a confident answer can still be unfair or wrong.

No. of Classes

1 - (Time : 1 hour 30 minutes, Laptops/desktops : 10, Students strength : 15 to 20).

Materials Required

Laptop / Desktop with Internet connections / Wi-Fi.

Prior knowledge
  • Browsers
  • Basics of prompting
  • Basic use of an AI chatbot (LLM)
  • How training data shapes what AI learns
Exercises

Exercise



Solutions



Teacher's Instruction:
  1. Check the availability of the AI tools used in this lesson and read the instruction documents for all the exercises before the class.
  2. Emphasise the words recommendations, training data, bias, data bias and algorithm bias.
  3. Create a class section on Code.org before the lesson so the students can complete the activity.
  4. Points to Ponder:
    • Two different things can go wrong: the examples it learned from were unfair, or the way it picks an answer is unfair. From what you saw today, which one do you think you were looking at?
    • If a biased AI is used to shortlist people for a job, who should be held responsible - the people who built it, the people who chose to use it, or nobody?